<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>my HTML Template</title>
		<link rel="stylesheet" type="text/css" href="css/iconfont/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="css/mytemplate.css"/>
		<script src="js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		
		<div id="max-numbox" class="max-numbox" style="height: 50px;width: 200px;">
			<div class="max-minus">
				<i class="iconfont icon-minus"></i>
			</div>
			<div class="max-container">
				<input type="text" name="numgoods" id="numgoods" value="1">
			</div>
			<div class="max-plus">
				<i class="iconfont icon-plus"></i>
			</div>
		</div>
		<br  />
		<div class="max-numbox" style="height: 50px;width: 200px;">
			<div class="max-minus">
				<i class="iconfont icon-minus"></i>
			</div>
			<div class="max-container">
				<!--<input type="text" name="numgoods" id="numgoods" value="1">-->
				<span class="max-span">2</span>	
			</div>
			<div class="max-plus">
				<i class="iconfont icon-plus"></i>
			</div>
		</div>
		<script src="js/$max.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			window.onload = function(){
				
				/*console.log($max(".max-minus",document.getElementById("max-numbox")));*/
				/*console.log($max(".max-minus"));*/
				console.log($max("div"));
				/*console.log($(".max-numbox,#max-numbox"))*/
			}
		</script>
	</body>
</html>
